﻿
using Ekton_Manage_DomainCore.Aggregate;
using Ekton_Manage_DTO.APIRequestModels.SysUser;
using Ekton_Manage_DTO.RequestModels;
using Ekton_Manage_DTO.RequestModels.Product;
using Ekton_Manage_DTO.RequestModels.SysUser;
using Ekton_Manage_InfrastructureCore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ekton_Manage_IBusiness
{
    public interface IApiSelectOrder
    {   
        /// <summary>
        ///  查看我的订单
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<Tuple<List<user_orderView>, int>> GetOrder(QueryDataParame query);
        /// <summary>
        /// 提交需求订单  
       /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<Message> PostOrderList(ApiDtoInsertUserOrder request);
        
        /// <summary>
        /// 查看详情
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        Task<Message> GetParticularsOrder(string order);

        /// <summary>
        /// 修改备注
        /// </summary>
        /// <param name="request"></param>
        /// <returns></returns>
        Task<Message> PutRemark(ApiDtoUpdateRemark request);
    }
}
